package com.bawei.main

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.bawei.main.databinding.ActivityMaBinding
import com.bw.lib_mvvm.BaseActivity

class MaActivity : BaseActivity<ActivityMaBinding>() {
    override fun initView() {

    }

    override fun initData() {
        val navHostFragment=supportFragmentManager.findFragmentById(R.id.fragment) as NavHostFragment
        val navController = navHostFragment.navController
        viewDataBinding.btm.setupWithNavController(navController)
    }

    override fun bindLayout(): Int =R.layout.activity_ma
}